package com.zzb.projectfactory.framework.event.dao.jpa;

import com.zzb.projectfactory.framework.event.entity.SysEventNotify;
import com.zzb.projectfactory.framework.common.BaseRepository;

import java.util.List;

/**
* 事件通知方法 JPA接口
*/
public interface SysEventNotifyRepository extends BaseRepository<SysEventNotify> {
    /**通过eventId获取事件通知列表*/
    List<SysEventNotify> findByEventIdAndActivateOrderByExecuteOrderAsc(String eventId, Boolean activate);
}
